import java.util.Timer;
import java.util.TimerTask;

public class Default {
    private Timer timer = null;
    private int num = 0;

    public Default() {
        timer = new Timer();
        timer.schedule(new RemindTask(), 0,1000);
    }

    class RemindTask extends TimerTask {
        public void run() {
        	num++;
            System.out.println("Time's sup!!!!a!!!!!!!!!!");
            if (num >=7){
//            	timer.cancel();
//            	
//            	
//            	
            	
            }
        }
    }

    public static void main(String args[]) {
        new Default();
    }
}
